<?php
class Car
{
	public $name;

	public $color = "red";

	public function __construct($name)
	{
		$this->name = $name;
	}
	public function run()
	{
		echo $this->name."可以跑";
	}
	public function getColor()
	{
		return $this->color;
	}

	public function __destruct()
	{
		echo "我不想die";
	}
}


